package com.qf.microuser.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.common.core.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * --- 缘分让我们相遇乱世以外 ---
 *
 * @author SJY
 *
 */
public interface UserMapper extends BaseMapper<User> {

    @Update("update user set point = point + #{point} where id = #{uid}")
    void updatePoint(@Param("uid") Integer uid, @Param("point") Integer point);
}
